package fsc

// mqtt交互code
const (
	// 系统
	CODE_SYSTEM_ONLINE       = "10000"
	CODE_SYSTEM_SWITCH_OPEN  = "10001"
	CODE_SYSTEM_SWITCH_CLOSE = "10002"

	// 红外
	CODE_INFRARED_GET_ONLINE  = "1000"
	CODE_INFRARED_GET_VERSION = "1001"
	CODE_INFRARED_GET_PEOPLE  = "1002"
	CODE_INFRARED_GET_CONFIG  = "1003"
	CODE_INFRARED_SET_UPDATE  = "1100"
	CODE_INFRARED_SET_CONFIG  = "1101"
	CODE_INFRARED_SET_REBOOT  = "1102"

	// 门禁
	CODE_DOOR_GET_ONLINE  = "2000"
	CODE_DOOR_GET_VERSION = "2001"
	CODE_DOOR_GET_DOOR    = "2002"
	CODE_DOOR_GET_CONFIG  = "2003"
	CODE_DOOR_SET_UPDATE  = "2100"
	CODE_DOOR_SET_CONFIG  = "2101"
	CODE_DOOR_SET_REBOOT  = "2102"

	// 源控
	CODE_SWITCH_GET_VERSION = "3001"
	CODE_SWITCH_GET_SWITCH  = "3002"
	CODE_SWITCH_GET_CONFIG  = "3003"

	CODE_SWITCH_SET_UPDATE = "3100"
	CODE_SWITCH_SET_CONFIG = "3101"
	CODE_SWITCH_SET_REBOOT = "3102"
	CODE_SWITCH_SET_OPEN   = "3103"
	CODE_SWITCH_SET_CLOSE  = "3104"
)
